package com.example.amoocspringboot.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User implements Serializable {
    @TableId
    private Long id;
    private String username;
    private String password;
    private String gender;
    private String mobile;
    private String email;
    private Date createTime;
    private Date lastLogin;
    private Integer status;
    private Integer isAdmin;
    private String avatar;
}
